﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BlogAug22.Models
{
    public class MyComment
    {
        public string Name { get; set;}
        public string Comment { get; set; }
        public string MCDate { get; set; }
        public static int NextCommentID = 0;
        public int CommentID { get; set; }
        public int PostID { get; set; }


        public MyComment(string name, string comment, int postid)
        {
            this.Name = name;
            this.Comment = comment;
            this.CommentID = NextCommentID++;
            this.PostID = postid;
        }
        public MyComment()
        {

        }
    }
}